package bma.common.netty.jvm;

import java.util.ArrayList;
import java.util.List;

import bma.common.langutil.jmshell.JMShellProcessor;
import bma.common.langutil.jmshell.command.JMShellCommandGroup;

public class JMShellCommandGroup4Netty extends JMShellCommandGroup {

	public JMShellCommandGroup4Netty() {
		super();

		List<JMShellProcessor> cmds = new ArrayList<JMShellProcessor>();
		cmds.add(new NettyListCommand());
		cmds.add(new NettyBindCommand());
		cmds.add(new NettyKillCommand());
		this.processors = cmds;
	}

	@Override
	public void setProcessors(List<JMShellProcessor> processors) {
		this.processors.addAll(processors);
	}
}
